package com.lujinqi.egroup.provider.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.lujinqi.egroup.api.model.User;
import com.lujinqi.egroup.api.service.UserService;

/**
 * @author lujinqi
 * @date 2018/10/22
 */
@Service(
        version = "${service.version}",
        application = "${dubbo.application.id}",
        protocol = "${dubbo.protocol.id}",
        registry = "${dubbo.registry.id}"
)
public class UserServiceImpl implements UserService {
    @Override
    public User getById(Long id) {
        return new User(id,"lujinqi");
    }
}
